/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package expressions;
import OpenCOM.*;

/**
 *
 * @author Tinoo
 */
public class Value extends OpenCOMComponent implements IExpression, IMetaInterface, ILifeCycle, IUnknown
{
    private int m_value = 0;


    public Value(IUnknown c)
    {
        super(c);
    }

    public int GetResult() {
        return m_value;
    }

    public void SetValue(int value)
    {
        m_value = value;
    }
    
    public boolean startup(Object arg0) 
    {
        return true;
    }

    public boolean shutdown() 
    {
        return true;
    }
}
